package test1;

public class Test {
    public static void main(String[] args) {
        int[] array={1,2,3};
        try{
            System.out.println(array[5]);
            System.out.println("你好");
        }catch(ArrayIndexOutOfBoundsException e){
            e.printStackTrace();
            System.out.println("我捕捉到了一个数组越界异常");
        }
        System.out.println("hello");
    }
}
